//
//  ViewController.m
//  27-Block练习播放按钮
//
//  Created by 王道林 on 16/8/19.
//  Copyright © 2016年 王道林. All rights reserved.
//

#import "ViewController.h"
#import "PlayView.h"
@interface ViewController ()
@property (weak, nonatomic) IBOutlet PlayView *playView;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically

    [self.playView play:^(UIButton *play) {
        NSLog(@"播放");
    } pause:^(UIButton *pause) {
        NSLog(@"暂停");
    }];


}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
